Home Reference Source
public class | source

ClusterServiceClass

Static Method Summary

Static Public Methods
public static

Create a new ClusterServiceClass from a provided JSON object.

public static

isValidJSON(jsonData: Object): boolean

Return whether the provided JSON data is parsable by @see fromJSON This returning false does not mean the actual object is invalid in OpenShift.

Constructor Summary

Public Constructor
public

constructor(name: string, displayName: string)

Construct a new ClusterServiceClass

Member Summary

Public Members
public
public

name: *

Static Public Methods

public static fromJSON(jsonData: Object): ClusterServiceClass source

Create a new ClusterServiceClass from a provided JSON object.

Params:

NameTypeAttributeDescription
jsonData Object

The JSON object to parse

public static isValidJSON(jsonData: Object): boolean source

Return whether the provided JSON data is parsable by @see fromJSON This returning false does not mean the actual object is invalid in OpenShift.

Params:

NameTypeAttributeDescription
jsonData Object

The JSON object to check

Return:

boolean

Public Constructors

public constructor(name: string, displayName: string) source

Construct a new ClusterServiceClass

Params:

NameTypeAttributeDescription
name string

The identifying name of the cluster service class

displayName string

The human-friendly name of the cluster service class

Public Members

public displayName: * source

public name: * source