text: /**
   * Swaggy Jenkins
   * Jenkins API clients generated from Swagger / Open API specification
   *
   * OpenAPI spec version: 1.1.2-pre.0
   * Contact: blah@cliffano.com
   *
   * NOTE: This class is auto generated by OpenAPI Generator
   * https://github.com/OpenAPITools/openapi-generator
   * Do not edit the class manually.
   */
  
  #include "OpenAPIPipelineActivityartifacts.h"
  
  #include "OpenAPIModule.h"
  #include "OpenAPIHelpers.h"
  
  #include "Templates/SharedPointer.h"
  
  namespace OpenAPI
  {
  
  void OpenAPIPipelineActivityartifacts::WriteJson(JsonWriter& Writer) const
  {
  	Writer->WriteObjectStart();
  	if (Name.IsSet())
  	{
  		Writer->WriteIdentifierPrefix(TEXT("name")); WriteJsonValue(Writer, Name.GetValue());
  	}
  	if (Size.IsSet())
  	{
  		Writer->WriteIdentifierPrefix(TEXT("size")); WriteJsonValue(Writer, Size.GetValue());
  	}
  	if (Url.IsSet())
  	{
  		Writer->WriteIdentifierPrefix(TEXT("url")); WriteJsonValue(Writer, Url.GetValue());
  	}
  	if (_Class.IsSet())
  	{
  		Writer->WriteIdentifierPrefix(TEXT("_class")); WriteJsonValue(Writer, _Class.GetValue());
  	}
  	Writer->WriteObjectEnd();
  }
  
  bool OpenAPIPipelineActivityartifacts::FromJson(const TSharedPtr<FJsonValue>& JsonValue)
  {
  	const TSharedPtr<FJsonObject>* Object;
  	if (!JsonValue->TryGetObject(Object))
  		return false;
  
  	bool ParseSuccess = true;
  
  	ParseSuccess &= TryGetJsonValue(*Object, TEXT("name"), Name);
  	ParseSuccess &= TryGetJsonValue(*Object, TEXT("size"), Size);
  	ParseSuccess &= TryGetJsonValue(*Object, TEXT("url"), Url);
  	ParseSuccess &= TryGetJsonValue(*Object, TEXT("_class"), _Class);
  
  	return ParseSuccess;
  }
  
  }
  