Class RatingsApi

Hierarchy (view full)

Constructors

Properties

configuration: Configuration = DefaultConfig

Methods

  • Deletes requested rating specification Delete cwmsData ratings spec with ratingId

    Parameters

    Returns Promise<void>

  • Deletes requested rating specification Delete cwmsData ratings template with templateId

    Parameters

    Returns Promise<void>

  • Delete cwmsData ratings with ratingId

    Parameters

    Returns Promise<void>

  • Get cwmsData ratings

    Parameters

    Returns Promise<object>

  • Returns CWMS Rating Data Get cwmsData ratings with ratingId

    Parameters

    Returns Promise<object>

  • Check if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json

    Parameters

    • mime: string

      MIME (Multipurpose Internet Mail Extensions)

    Returns boolean

    True if the given MIME is JSON, false otherwise.

  • Update a RatingSet Patch cwmsData ratings with ratingId

    Parameters

    Returns Promise<void>

  • Create new RatingSet Post cwmsData ratings

    Parameters

    Returns Promise<void>

  • Create new RatingSet Post cwmsData ratings

    Parameters

    Returns Promise<ApiResponse<void>>

  • Create new Rating Specification Post cwmsData ratings spec

    Parameters

    Returns Promise<void>

  • Create new Rating Specification Post cwmsData ratings spec

    Parameters

    Returns Promise<ApiResponse<void>>

  • Create new Rating Template Post cwmsData ratings template

    Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<Response>

  • Type Parameters

    Parameters

    • this: T
    • Rest ...postMiddlewares: ((context) => Promise<void | Response>)[]

    Returns T

  • Type Parameters

    Parameters

    • this: T
    • Rest ...preMiddlewares: ((context) => Promise<void | FetchParams>)[]

    Returns T