Skip to content

Commit

Permalink
Add documentation comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
xclud committed Mar 20, 2024
1 parent 1df565a commit 17d609d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
3 changes: 2 additions & 1 deletion lib/src/int_or_string.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class IntOrString {
String toString() {
return value.toString();
}


/// Converts this instance to Json.
Object toJson() => value;
}
36 changes: 18 additions & 18 deletions lib/src/io/istio/v1beta/_todo.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
part of io.istio.v1beta1;

///
/// AuthorizationPolicyStatus
class AuthorizationPolicyStatus {
/// The main constructor.
const AuthorizationPolicyStatus();
Expand All @@ -9,7 +9,7 @@ class AuthorizationPolicyStatus {
AuthorizationPolicyStatus.fromJson(Map<String, dynamic> json) : this();
}

///
/// DestinationRuleSpec
class DestinationRuleSpec {
/// The main constructor.
const DestinationRuleSpec();
Expand All @@ -18,7 +18,7 @@ class DestinationRuleSpec {
DestinationRuleSpec.fromJson(Map<String, dynamic> json) : this();
}

///
/// DestinationRuleStatus
class DestinationRuleStatus {
/// The main constructor.
const DestinationRuleStatus();
Expand All @@ -27,7 +27,7 @@ class DestinationRuleStatus {
DestinationRuleStatus.fromJson(Map<String, dynamic> json) : this();
}

///
/// EnvoyFilterSpec
class EnvoyFilterSpec {
/// The main constructor.
const EnvoyFilterSpec();
Expand All @@ -36,7 +36,7 @@ class EnvoyFilterSpec {
EnvoyFilterSpec.fromJson(Map<String, dynamic> json) : this();
}

///
/// EnvoyFilterStatus
class EnvoyFilterStatus {
/// The main constructor.
const EnvoyFilterStatus();
Expand All @@ -63,7 +63,7 @@ class PeerAuthenticationStatus {
PeerAuthenticationStatus.fromJson(Map<String, dynamic> json) : this();
}

///
/// RequestAuthenticationSpec
class RequestAuthenticationSpec {
/// The main constructor.
const RequestAuthenticationSpec();
Expand All @@ -72,7 +72,7 @@ class RequestAuthenticationSpec {
RequestAuthenticationSpec.fromJson(Map<String, dynamic> json) : this();
}

///
/// RequestAuthenticationStatus
class RequestAuthenticationStatus {
/// The main constructor.
const RequestAuthenticationStatus();
Expand All @@ -81,7 +81,7 @@ class RequestAuthenticationStatus {
RequestAuthenticationStatus.fromJson(Map<String, dynamic> json) : this();
}

///
/// ServiceEntrySpec
class ServiceEntrySpec {
/// The main constructor.
const ServiceEntrySpec();
Expand All @@ -90,7 +90,7 @@ class ServiceEntrySpec {
ServiceEntrySpec.fromJson(Map<String, dynamic> json) : this();
}

///
/// ServiceEntryStatus
class ServiceEntryStatus {
/// The main constructor.
const ServiceEntryStatus();
Expand All @@ -99,7 +99,7 @@ class ServiceEntryStatus {
ServiceEntryStatus.fromJson(Map<String, dynamic> json) : this();
}

///
/// SidecarSpec
class SidecarSpec {
/// The main constructor.
const SidecarSpec();
Expand All @@ -108,7 +108,7 @@ class SidecarSpec {
SidecarSpec.fromJson(Map<String, dynamic> json) : this();
}

///
/// SidecarStatus
class SidecarStatus {
/// The main constructor.
const SidecarStatus();
Expand All @@ -117,7 +117,7 @@ class SidecarStatus {
SidecarStatus.fromJson(Map<String, dynamic> json) : this();
}

///
/// TelemetrySpec
class TelemetrySpec {
/// The main constructor.
const TelemetrySpec();
Expand All @@ -126,7 +126,7 @@ class TelemetrySpec {
TelemetrySpec.fromJson(Map<String, dynamic> json) : this();
}

///
/// TelemetryStatus
class TelemetryStatus {
/// The main constructor.
const TelemetryStatus();
Expand All @@ -135,7 +135,7 @@ class TelemetryStatus {
TelemetryStatus.fromJson(Map<String, dynamic> json) : this();
}

///
/// VirtualServiceStatus
class VirtualServiceStatus {
/// The main constructor.
const VirtualServiceStatus();
Expand All @@ -144,7 +144,7 @@ class VirtualServiceStatus {
VirtualServiceStatus.fromJson(Map<String, dynamic> json) : this();
}

///
/// WorkloadEntrySpec
class WorkloadEntrySpec {
/// The main constructor.
const WorkloadEntrySpec();
Expand All @@ -153,7 +153,7 @@ class WorkloadEntrySpec {
WorkloadEntrySpec.fromJson(Map<String, dynamic> json) : this();
}

///
/// WorkloadEntryStatus
class WorkloadEntryStatus {
/// The main constructor.
const WorkloadEntryStatus();
Expand All @@ -162,7 +162,7 @@ class WorkloadEntryStatus {
WorkloadEntryStatus.fromJson(Map<String, dynamic> json) : this();
}

///
/// WorkloadGroupSpec
class WorkloadGroupSpec {
/// The main constructor.
const WorkloadGroupSpec();
Expand All @@ -171,7 +171,7 @@ class WorkloadGroupSpec {
WorkloadGroupSpec.fromJson(Map<String, dynamic> json) : this();
}

///
/// WorkloadGroupStatus
class WorkloadGroupStatus {
/// The main constructor.
const WorkloadGroupStatus();
Expand Down

0 comments on commit 17d609d

Please sign in to comment.