File: site_migration_detail.py

package info (click to toggle)
chargebee2-python 2.22.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 740 kB
  • sloc: python: 2,492; makefile: 4; sh: 3
file content (14 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import json
from chargebee.model import Model
from chargebee import request
from chargebee import APIError

class SiteMigrationDetail(Model):

    fields = ["entity_id", "other_site_name", "entity_id_at_other_site", "migrated_at", "entity_type", \
    "status"]


    @staticmethod
    def list(params=None, env=None, headers=None):
        return request.send_list_request('get', request.uri_path("site_migration_details"), params, env, headers)