Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion src/otari/_client/api/organization_pricing_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated

from pydantic import Field, StrictStr
from pydantic import Field, StrictStr, field_validator
from typing import Optional
from typing_extensions import Annotated
from uuid import UUID
Expand Down Expand Up @@ -598,6 +598,7 @@ def _organization_pricing_delete_organization_pricing_serialize(
def organization_pricing_list_organization_pricing(
self,
model_key: Annotated[Optional[StrictStr], Field(description="Return only this model's periods, in the canonical 'provider:model' form.")] = None,
kind: Annotated[Optional[StrictStr], Field(description="Return only overrides of this kind.")] = None,
skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None,
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None,
_request_timeout: Union[
Expand All @@ -619,6 +620,8 @@ def organization_pricing_list_organization_pricing(

:param model_key: Return only this model's periods, in the canonical 'provider:model' form.
:type model_key: str
:param kind: Return only overrides of this kind.
:type kind: str
:param skip: Number of records to skip
:type skip: int
:param limit: Maximum number of records to return
Expand Down Expand Up @@ -647,6 +650,7 @@ def organization_pricing_list_organization_pricing(

_param = self._organization_pricing_list_organization_pricing_serialize(
model_key=model_key,
kind=kind,
skip=skip,
limit=limit,
_request_auth=_request_auth,
Expand Down Expand Up @@ -674,6 +678,7 @@ def organization_pricing_list_organization_pricing(
def organization_pricing_list_organization_pricing_with_http_info(
self,
model_key: Annotated[Optional[StrictStr], Field(description="Return only this model's periods, in the canonical 'provider:model' form.")] = None,
kind: Annotated[Optional[StrictStr], Field(description="Return only overrides of this kind.")] = None,
skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None,
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None,
_request_timeout: Union[
Expand All @@ -695,6 +700,8 @@ def organization_pricing_list_organization_pricing_with_http_info(

:param model_key: Return only this model's periods, in the canonical 'provider:model' form.
:type model_key: str
:param kind: Return only overrides of this kind.
:type kind: str
:param skip: Number of records to skip
:type skip: int
:param limit: Maximum number of records to return
Expand Down Expand Up @@ -723,6 +730,7 @@ def organization_pricing_list_organization_pricing_with_http_info(

_param = self._organization_pricing_list_organization_pricing_serialize(
model_key=model_key,
kind=kind,
skip=skip,
limit=limit,
_request_auth=_request_auth,
Expand Down Expand Up @@ -750,6 +758,7 @@ def organization_pricing_list_organization_pricing_with_http_info(
def organization_pricing_list_organization_pricing_without_preload_content(
self,
model_key: Annotated[Optional[StrictStr], Field(description="Return only this model's periods, in the canonical 'provider:model' form.")] = None,
kind: Annotated[Optional[StrictStr], Field(description="Return only overrides of this kind.")] = None,
skip: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of records to skip")] = None,
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of records to return")] = None,
_request_timeout: Union[
Expand All @@ -771,6 +780,8 @@ def organization_pricing_list_organization_pricing_without_preload_content(

:param model_key: Return only this model's periods, in the canonical 'provider:model' form.
:type model_key: str
:param kind: Return only overrides of this kind.
:type kind: str
:param skip: Number of records to skip
:type skip: int
:param limit: Maximum number of records to return
Expand Down Expand Up @@ -799,6 +810,7 @@ def organization_pricing_list_organization_pricing_without_preload_content(

_param = self._organization_pricing_list_organization_pricing_serialize(
model_key=model_key,
kind=kind,
skip=skip,
limit=limit,
_request_auth=_request_auth,
Expand All @@ -821,6 +833,7 @@ def organization_pricing_list_organization_pricing_without_preload_content(
def _organization_pricing_list_organization_pricing_serialize(
self,
model_key,
kind,
skip,
limit,
_request_auth,
Expand Down Expand Up @@ -849,6 +862,10 @@ def _organization_pricing_list_organization_pricing_serialize(

_query_params.append(('model_key', model_key))

if kind is not None:

_query_params.append(('kind', kind))

if skip is not None:

_query_params.append(('skip', skip))
Expand Down
Loading
Loading