Show / Hide Table of Contents

Class ListRateCardsRequest

Inheritance
object
ListRateCardsRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OnesubscriptionService.Requests
Assembly: OCI.DotNetSDK.Onesubscription.dll
Syntax
public class ListRateCardsRequest : IOciRequest
Examples

Click here to see an example of how to use ListRateCards request.

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the root compartment.

Remarks

Required

Limit

Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type Description
int?

The maximum number of items to return in a paginated "List" call. Default: (50)
Example: '500'

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.

Page

Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type Description
string

The value of the 'opc-next-page' response header from the previous "List" call.

PartNumber

Declaration
[HttpConverter(TargetEnum.Query, "partNumber")]
public string PartNumber { get; set; }
Property Value
Type Description
string

This param is used to get the rate card(s) filterd by the partNumber

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListRateCardsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListRateCardsRequest.SortByEnum?

The field to sort by. You can provide one sort order ('sortOrder').

SortOrder

Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListRateCardsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type Description
ListRateCardsRequest.SortOrderEnum?

The sort order to use, either ascending ('ASC') or descending ('DESC').

SubscriptionId

Declaration
[Required(ErrorMessage = "SubscriptionId is required.")]
[HttpConverter(TargetEnum.Query, "subscriptionId")]
public string SubscriptionId { get; set; }
Property Value
Type Description
string

Line level Subscription Id

Remarks

Required

TimeFrom

Declaration
[HttpConverter(TargetEnum.Query, "timeFrom")]
public DateTime? TimeFrom { get; set; }
Property Value
Type Description
DateTime?

This param is used to get the rate card(s) whose effective start date starts on or after a particular date

TimeTo

Declaration
[HttpConverter(TargetEnum.Query, "timeTo")]
public DateTime? TimeTo { get; set; }
Property Value
Type Description
DateTime?

This param is used to get the rate card(s) whose effective end date ends on or before a particular date

Implements

IOciRequest
In this article
Back to top