Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 2.1 KB

File metadata and controls

46 lines (37 loc) · 2.1 KB

LinkCreateRequest

Properties

Name Type Description Notes
url str URL to shorten
folder_id UUID Folder API ID [optional]
domain str Domain [optional]
code str Custom short code [optional]
label str Label [optional]
password str Password [optional]
delete_at datetime Scheduled deletion date [optional]
expired_at datetime Scheduled expiration date [optional]
expired_url str The URL to which users will be redirected after the link has expired [optional]
expired_title str The title displayed on the expiration page [optional]
expired_text str The text displayed on the expiration page [optional]
delete_after_expiration bool Whether the link should be deleted once it has expired [optional] [default to False]
tags List[UUID] Tags [optional]
qrcode LinkBaseRequestQrcode [optional]
utm LinkUtm [optional]
metatag LinkBaseRequestMetatag [optional]
geolinks List[LinkGeolinksInner] Dynamic routing conditions [optional]
workspace_id UUID Workspace API ID

Example

from urlr.models.link_create_request import LinkCreateRequest

# TODO update the JSON string below
json = "{}"
# create an instance of LinkCreateRequest from a JSON string
link_create_request_instance = LinkCreateRequest.from_json(json)
# print the JSON string representation of the object
print(LinkCreateRequest.to_json())

# convert the object into a dict
link_create_request_dict = link_create_request_instance.to_dict()
# create an instance of LinkCreateRequest from a dict
link_create_request_from_dict = LinkCreateRequest.from_dict(link_create_request_dict)

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