Class QuoteAttachmentClient
Service client instance for QuoteAttachment.
Implements
Inherited Members
Namespace: Oci.MarketplaceprivateofferService
Assembly: OCI.DotNetSDK.Marketplaceprivateoffer.dll
Syntax
public class QuoteAttachmentClient : RegionalClientBase, IDisposable
Constructors
QuoteAttachmentClient(IBasicAuthenticationDetailsProvider, ClientConfiguration, string)
Creates a new service instance using the given authentication provider and/or client configuration and/or endpoint. A client configuration can also be provided optionally to adjust REST client behaviors.
Declaration
public QuoteAttachmentClient(IBasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration clientConfiguration = null, string endpoint = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IBasicAuthenticationDetailsProvider | authenticationDetailsProvider | The authentication details provider. Required. |
| ClientConfiguration | clientConfiguration | The client configuration that contains settings to adjust REST client behaviors. Optional. |
| string | endpoint | The endpoint of the service. If not provided and the client is a regional client, the endpoint will be constructed based on region information. Optional. |
Properties
Paginators
Declaration
public QuoteAttachmentPaginators Paginators { get; }
Property Value
| Type | Description |
|---|---|
| QuoteAttachmentPaginators |
Waiters
Declaration
public QuoteAttachmentWaiters Waiters { get; }
Property Value
| Type | Description |
|---|---|
| QuoteAttachmentWaiters |
Methods
CreateQuoteAttachment(CreateQuoteAttachmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates a new offer quote attachment.
Declaration
public Task<CreateQuoteAttachmentResponse> CreateQuoteAttachment(CreateQuoteAttachmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateQuoteAttachmentRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<CreateQuoteAttachmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateQuoteAttachment API.
DeleteQuoteAttachment(DeleteQuoteAttachmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes an offer quote attachment resource by identifier.
Declaration
public Task<DeleteQuoteAttachmentResponse> DeleteQuoteAttachment(DeleteQuoteAttachmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteQuoteAttachmentRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<DeleteQuoteAttachmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteQuoteAttachment API.
GetQuoteAttachment(GetQuoteAttachmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets an offer quote attachment by identifier.
Declaration
public Task<GetQuoteAttachmentResponse> GetQuoteAttachment(GetQuoteAttachmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| GetQuoteAttachmentRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<GetQuoteAttachmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetQuoteAttachment API.
GetQuoteAttachmentContent(GetQuoteAttachmentContentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets an offer quote attachment content by identifier.
Declaration
public Task<GetQuoteAttachmentContentResponse> GetQuoteAttachmentContent(GetQuoteAttachmentContentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| GetQuoteAttachmentContentRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<GetQuoteAttachmentContentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetQuoteAttachmentContent API.
ListQuoteAttachments(ListQuoteAttachmentsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns a list of offer quote attachments. Requires either a reseller compartment ID or an ISV compartment ID.
Declaration
public Task<ListQuoteAttachmentsResponse> ListQuoteAttachments(ListQuoteAttachmentsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ListQuoteAttachmentsRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<ListQuoteAttachmentsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListQuoteAttachments API.