AdminCollaborationRequest constructor
AdminCollaborationRequest({
- Organization? organization,
- ClientApp? connectApp,
- String? accessToken,
- Collaboration? collaboration,
- bool? acceptCollaboration,
- String? emailOfCollaborator,
- String? secret,
- bool? onlyConnect,
- bool? onlyOrganization,
- bool? onlyAccepted,
Implementation
factory AdminCollaborationRequest({
Organization? organization,
ClientApp? connectApp,
$core.String? accessToken,
Collaboration? collaboration,
$core.bool? acceptCollaboration,
$core.String? emailOfCollaborator,
$core.String? secret,
$core.bool? onlyConnect,
$core.bool? onlyOrganization,
$core.bool? onlyAccepted,
}) {
final _result = create();
if (organization != null) {
_result.organization = organization;
}
if (connectApp != null) {
_result.connectApp = connectApp;
}
if (accessToken != null) {
_result.accessToken = accessToken;
}
if (collaboration != null) {
_result.collaboration = collaboration;
}
if (acceptCollaboration != null) {
_result.acceptCollaboration = acceptCollaboration;
}
if (emailOfCollaborator != null) {
_result.emailOfCollaborator = emailOfCollaborator;
}
if (secret != null) {
_result.secret = secret;
}
if (onlyConnect != null) {
_result.onlyConnect = onlyConnect;
}
if (onlyOrganization != null) {
_result.onlyOrganization = onlyOrganization;
}
if (onlyAccepted != null) {
_result.onlyAccepted = onlyAccepted;
}
return _result;
}