def to_hash
        hash = Hash.new
        hash.merge!(response_header: @response_header.to_h) if @response_header
        hash.merge!(token: @token) if @token
        hash.merge!(expiration: @expiration) if @expiration