set_url Subroutine

private pure elemental subroutine set_url(this, url)

Type Bound

ImageGeneration

Arguments

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

Called by

proc~~set_url~3~~CalledByGraph proc~set_url~3 foropenai_ImageGeneration::ImageGeneration%set_url proc~set_imagegeneration_data foropenai_ImageGeneration::ImageGeneration%set_ImageGeneration_data proc~set_imagegeneration_data->proc~set_url~3 program~test_imagegeneration test_ImageGeneration program~test_imagegeneration->proc~set_imagegeneration_data

Source Code

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