Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generator: Update SDK /services/stackitmarketplace#2524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
stackit-pipeline wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromgenerator-bot-19224701482/stackitmarketplace
Open
Show file tree
Hide file tree
Changes fromall 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
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,6 +67,7 @@
"RegisterTesting",
"RequestPrivatePlan",
"ResolveCustomerPayload",
"Scope",
"ServiceCertificate",
"SubscriptionLifecycleState",
"SubscriptionProduct",
Expand DownExpand Up@@ -191,6 +192,7 @@
from stackit.stackitmarketplace.models.resolve_customer_payload import (
ResolveCustomerPayload as ResolveCustomerPayload,
)
from stackit.stackitmarketplace.models.scope import Scope as Scope
from stackit.stackitmarketplace.models.service_certificate import (
ServiceCertificate as ServiceCertificate,
)
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -97,6 +97,7 @@
from stackit.stackitmarketplace.models.resolve_customer_payload import (
ResolveCustomerPayload,
)
from stackit.stackitmarketplace.models.scope import Scope
from stackit.stackitmarketplace.models.service_certificate import ServiceCertificate
from stackit.stackitmarketplace.models.subscription_lifecycle_state import (
SubscriptionLifecycleState,
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -28,6 +28,7 @@
from stackit.stackitmarketplace.models.notice_period import NoticePeriod
from stackit.stackitmarketplace.models.price_type import PriceType
from stackit.stackitmarketplace.models.pricing_option_unit import PricingOptionUnit
from stackit.stackitmarketplace.models.scope import Scope


class CatalogProductPricingOption(BaseModel):
Expand All@@ -47,6 +48,7 @@ class CatalogProductPricingOption(BaseModel):
default=None, description="Additional price type information.", alias="pricingPlan"
)
rate: Optional[StrictStr] = Field(default=None, description="The price of the product (per unit).")
scope: Scope
sku: StrictStr = Field(description="The concrete variant of the product.")
sku_info: StrictStr = Field(description="Short description of this offering.", alias="skuInfo")
sku_info_details: StrictStr = Field(
Expand All@@ -62,6 +64,7 @@ class CatalogProductPricingOption(BaseModel):
"priceType",
"pricingPlan",
"rate",
"scope",
"sku",
"skuInfo",
"skuInfoDetails",
Expand DownExpand Up@@ -149,6 +152,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"priceType": obj.get("priceType"),
"pricingPlan": obj.get("pricingPlan"),
"rate": obj.get("rate"),
"scope": obj.get("scope"),
"sku": obj.get("sku"),
"skuInfo": obj.get("skuInfo"),
"skuInfoDetails": obj.get("skuInfoDetails"),
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
# coding: utf-8

"""
STACKIT Marketplace API

API to manage STACKIT Marketplace.

The version of the OpenAPI document: 1
Contact: marketplace@stackit.cloud
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501

from __future__ import annotations

import json
from enum import Enum

from typing_extensions import Self


class Scope(str, Enum):
"""
The (visibility) scope.
"""

"""
allowed enum values
"""
PUBLIC = "PUBLIC"
AUTHENTICATED = "AUTHENTICATED"
PRIVATE_PROJECT = "PRIVATE_PROJECT"

@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of Scope from a JSON string"""
return cls(json.loads(json_str))

[8]ページ先頭

©2009-2025 Movatter.jp