Skip to content

Latest commit

History

History
33 lines (24 loc) · 1.35 KB

File metadata and controls

33 lines (24 loc) · 1.35 KB

GenerateQRCodeRequest

Properties

NameTypeDescriptionNotes
contentstrThe content which is used to generate QR code
colorstrQR code in hexadecimal format[optional] [default to '#000000']
logo_base64strA logo as a base64 image string to add on the QR code[optional]
logo_urlstrA logo URL to an image to add on the QR code[optional]
outputstrResponse format[optional] [default to 'base64']

Example

frompdf_generator_api_client.models.generate_qr_code_requestimportGenerateQRCodeRequest# TODO update the JSON string belowjson="{}"# create an instance of GenerateQRCodeRequest from a JSON stringgenerate_qr_code_request_instance=GenerateQRCodeRequest.from_json(json)
# print the JSON string representation of the objectprint(GenerateQRCodeRequest.to_json())
# convert the object into a dictgenerate_qr_code_request_dict=generate_qr_code_request_instance.to_dict()
# create an instance of GenerateQRCodeRequest from a dictgenerate_qr_code_request_from_dict=GenerateQRCodeRequest.from_dict(generate_qr_code_request_dict)

[Back to Model list][Back to API list][Back to README]