OTX-Runtime for C++  
OpenTestSystem::Otx::Runtime::Api::DataTypes::ResourceLocation Class Reference

Represents OTX ResourceLocation DataType. More...

#include <ResourceLocation.h>

Inheritance diagram for OpenTestSystem::Otx::Runtime::Api::DataTypes::ResourceLocation:
Inheritance graph

Public Member Functions

 ResourceLocation (const std::string &id="", const std::string &location="", const std::string &mediaType="")
 Initializes a new instance of the ResourceLocation class. More...
 
std::string GetID () const
 Gets ID More...
 
std::string GetLocation () const
 Get default resource Location More...
 
std::string GetMediaType () const
 Get classifies the content of a resource using a media type, indicates the nature and format of a document, file, or assortment of bytes More...
 
void SetLocation (const std::string &location)
 Sets default resource location More...
 
void SetMediaType (const std::string &mediaType)
 Sets media type More...
 
std::string ToLiteralString () const override
 Gets literal string. More...
 

Detailed Description

Represents OTX ResourceLocation DataType.

Constructor & Destructor Documentation

◆ ResourceLocation()

OpenTestSystem::Otx::Runtime::Api::DataTypes::ResourceLocation::ResourceLocation ( const std::string &  id = "",
const std::string &  location = "",
const std::string &  mediaType = "" 
)

Initializes a new instance of the ResourceLocation class.

Parameters
idID
locationDefault Location

Member Function Documentation

◆ GetID()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::ResourceLocation::GetID ( ) const
inline

Gets ID

Returns

◆ GetLocation()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::ResourceLocation::GetLocation ( ) const
inline

Get default resource Location

Returns

◆ GetMediaType()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::ResourceLocation::GetMediaType ( ) const
inline

Get classifies the content of a resource using a media type, indicates the nature and format of a document, file, or assortment of bytes

Returns

◆ SetLocation()

void OpenTestSystem::Otx::Runtime::Api::DataTypes::ResourceLocation::SetLocation ( const std::string &  location)
inline

Sets default resource location

Parameters
location

◆ SetMediaType()

void OpenTestSystem::Otx::Runtime::Api::DataTypes::ResourceLocation::SetMediaType ( const std::string &  mediaType)
inline

Sets media type

Parameters
location

◆ ToLiteralString()

std::string OpenTestSystem::Otx::Runtime::Api::DataTypes::ResourceLocation::ToLiteralString ( ) const
overridevirtual

Gets literal string.

Returns
Literal string.

Reimplemented from OpenTestSystem::Otx::Runtime::Api::DataTypes::Object.


The documentation for this class was generated from the following file: