RoleRef class

RoleRef contains information that points to the role being used.

Constructors

RoleRef({required String apiGroup, required String kind, required String name})
Default constructor.
const
RoleRef.fromJson(Map<String, dynamic> json)
Creates a RoleRef from JSON data.
factory

Properties

apiGroup String
APIGroup is the group for the resource being referenced.
final
hashCode int
The hash code for this object.
no setterinherited
kind String
Kind is the type of resource being referenced.
final
name String
Name is the name of resource being referenced.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a RoleRef instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited