spotify.object.copyright module
lass Copyright(object):
def __init__(self, text, type):
self.text = text
self.type = type
@classmethod
def from_json(cls, json):
return Copyright(
json['text'],
json['type']
)
Classes
class Copyright
class Copyright(object):
def __init__(self, text, type):
self.text = text
self.type = type
@classmethod
def from_json(cls, json):
return Copyright(
json['text'],
json['type']
)
Ancestors (in MRO)
- Copyright
- __builtin__.object
Instance variables
var text
var type
Methods
def __init__(
self, text, type)
def __init__(self, text, type):
self.text = text
self.type = type
def from_json(
cls, json)
@classmethod
def from_json(cls, json):
return Copyright(
json['text'],
json['type']
)