Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 2.3 KB

ProviderDto.md

File metadata and controls

35 lines (27 loc) · 2.3 KB

ProviderDto

One storage service this portal can connect, with the values a connection form needs.

Properties

Name Type Description Notes
name str The display name of the service, and the only thing that tells the WebDAV presets apart: kDrive, Yandex, WebDav, Nextcloud and ownCloud all report the same key. [optional]
key str The value to send as providerKey when an account of this service is connected. [optional]
connected bool Whether the service can be used on this portal: it is enabled in the configuration and, for an OAuth service, its application is registered. It says nothing about whether an account of it is connected. [optional]
oauth bool Whether an account of this service is connected with an OAuth 2.0 authorization code in token; when false, it is connected with login and password. [optional]
redirect_url str The redirect URL this portal is registered with at the service, to build the consent screen URL from. It comes back as null for the services that do not use OAuth. [optional]
required_connection_url bool Whether an account of this service cannot be connected without url, which is the case for the WebDAV servers whose address is not known in advance. The presets with a fixed address and the OAuth services do not need it. [optional]
client_id str The OAuth 2.0 client ID this portal is registered with at the service, to build the consent screen URL from. It comes back as null for the services that do not use OAuth. [optional]

Example

from docspace_api_sdk.models.provider_dto import ProviderDto

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

# convert the object into a dict
provider_dto_dict = provider_dto_instance.to_dict()
# create an instance of ProviderDto from a dict
provider_dto_from_dict = ProviderDto.from_dict(provider_dto_dict)

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