OutboundService class abstract
- Available extensions
- Annotations
-
- @freezed
Constructors
-
OutboundService({required String id, required String name, Map<
String, dynamic> ? credentials, OutboundProtocol? protocol, String? protocolId, bool? isEnabled, List<OutboundStructure> ? structure, String? token, List<String> ? assetsIds, List<Asset> ? assets, List<String> ? groupsIds, List<Tag> ? groups, List<Access> ? access, OutboundMetrics? metrics}) -
constfactory
-
OutboundService.fromJson(Map<
String, dynamic> json) -
From json
factory
Properties
-
access
→ List<
Access> ? -
A list of custom access permissions.
no setterinherited
-
assets
→ List<
Asset> ? -
Is the Assets linked to the service.
no setterinherited
-
assetsIds
→ List<
String> ? -
Is the Assets IDs linked to the service.
no setterinherited
-
copyWith
→ $OutboundServiceCopyWith<
OutboundService> -
Create a copy of OutboundService
with the given fields replaced by the non-null parameter values.
no setterinherited
-
credentials
→ Map<
String, dynamic> ? -
Is the Credential object, check the documentation for more information.
no setterinherited
-
groups
→ List<
Tag> ? -
Is the Groups (Tags) linked to the service.
no setterinherited
-
groupsIds
→ List<
String> ? -
Is the Groups (Tags) IDs linked to the service.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
IS the ID of the entity. This ID is unique.
no setterinherited
- isEnabled → bool?
-
Is the Current transmission status.
no setterinherited
- metrics → OutboundMetrics?
-
Is the Metrics object.
no setterinherited
- name → String
-
Is the Assigned service name, cannot be translated for other languages.
no setterinherited
- protocol → OutboundProtocol?
-
Is the Protocol entity.
no setterinherited
- protocolId → String?
-
Is the Protocol ID.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
structure
→ List<
OutboundStructure> ? -
Is the Structure of the outbound protocol, only used for Omega REST Outbound protocol.
no setterinherited
- token → String?
-
Is the Token to authenticate the request, only used for Alpha REST Inbound protocol
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_OutboundService value)) → TResult -
Available on OutboundService, provided by the OutboundServicePatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_OutboundService value)?) → TResult? -
Available on OutboundService, provided by the OutboundServicePatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_OutboundService value)?, {required TResult orElse()}) → TResult -
Available on OutboundService, provided by the OutboundServicePatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(String id, String name, Map< String, dynamic> ? credentials, OutboundProtocol? protocol, String? protocolId, bool? isEnabled, List<OutboundStructure> ? structure, String? token, List<String> ? assetsIds, List<Asset> ? assets, List<String> ? groupsIds, List<Tag> ? groups, List<Access> ? access, OutboundMetrics? metrics)?, {required TResult orElse()}) → TResult -
Available on OutboundService, provided by the OutboundServicePatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this OutboundService to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String id, String name, Map< String, dynamic> ? credentials, OutboundProtocol? protocol, String? protocolId, bool? isEnabled, List<OutboundStructure> ? structure, String? token, List<String> ? assetsIds, List<Asset> ? assets, List<String> ? groupsIds, List<Tag> ? groups, List<Access> ? access, OutboundMetrics? metrics)) → TResult -
Available on OutboundService, provided by the OutboundServicePatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String id, String name, Map< String, dynamic> ? credentials, OutboundProtocol? protocol, String? protocolId, bool? isEnabled, List<OutboundStructure> ? structure, String? token, List<String> ? assetsIds, List<Asset> ? assets, List<String> ? groupsIds, List<Tag> ? groups, List<Access> ? access, OutboundMetrics? metrics)?) → TResult? -
Available on OutboundService, provided by the OutboundServicePatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited