set_response_format Subroutine

private pure elemental subroutine set_response_format(this, response_format)

Type Bound

ImageGeneration

Arguments

Type IntentOptional Attributes Name
class(ImageGeneration), intent(inout) :: this
character(len=*), intent(in) :: response_format

Called by

proc~~set_response_format~2~~CalledByGraph proc~set_response_format~2 foropenai_ImageGeneration::ImageGeneration%set_response_format proc~create_image foropenai_ImageGeneration::ImageGeneration%create_image proc~create_image->proc~set_response_format~2 proc~set_imagegeneration_data foropenai_ImageGeneration::ImageGeneration%set_ImageGeneration_data proc~set_imagegeneration_data->proc~set_response_format~2 program~test_imagegeneration test_ImageGeneration program~test_imagegeneration->proc~create_image program~test_imagegeneration->proc~set_imagegeneration_data

Source Code

   elemental pure subroutine set_response_format(this, response_format)
      class(ImageGeneration), intent(inout) :: this
      character(len=*),       intent(in)    :: response_format
      this%response_format = trim(response_format)
   end subroutine set_response_format